package com.dayu.share.mapper;

import java.util.List;
import com.dayu.share.domain.ShareGoodsQuality;

/**
 * 商品成色Mapper接口
 * 
 * @author HK
 * @date 2021-04-08
 */
public interface ShareGoodsQualityMapper 
{
    /**
     * 查询商品成色
     * 
     * @param qualityId 商品成色ID
     * @return 商品成色
     */
    public ShareGoodsQuality selectShareGoodsQualityById(Long qualityId);

    /**
     * 查询商品成色列表
     * 
     * @param shareGoodsQuality 商品成色
     * @return 商品成色集合
     */
    public List<ShareGoodsQuality> selectShareGoodsQualityList(ShareGoodsQuality shareGoodsQuality);

    /**
     * 新增商品成色
     * 
     * @param shareGoodsQuality 商品成色
     * @return 结果
     */
    public int insertShareGoodsQuality(ShareGoodsQuality shareGoodsQuality);

    /**
     * 修改商品成色
     * 
     * @param shareGoodsQuality 商品成色
     * @return 结果
     */
    public int updateShareGoodsQuality(ShareGoodsQuality shareGoodsQuality);

    /**
     * 删除商品成色
     * 
     * @param qualityId 商品成色ID
     * @return 结果
     */
    public int deleteShareGoodsQualityById(Long qualityId);

    /**
     * 批量删除商品成色
     * 
     * @param qualityIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteShareGoodsQualityByIds(Long[] qualityIds);
}
